﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TImSdk
{
    /// <summary>
    /// 删除好友
    /// </summary>
    public class FriendshipDeleteFriendParam
    {
        /// <summary>
        /// 只写, 删除好友，指定删除的好友类型
        /// </summary>
        [JsonProperty("friendship_delete_friend_param_friend_type")]
        public TIMFriendType FriendType { get; set; }
        /// <summary>
        /// 只写(选填), 删除好友identifier列表
        /// </summary>
        [JsonProperty("friendship_delete_friend_param_identifier_array")]
        public string[] IdentifierArray { get; set; }

        public FriendshipDeleteFriendParam(string[] identifierArray)
        {
            IdentifierArray = identifierArray;
            FriendType = TIMFriendType.FriendTypeBoth;
        }
    }
}
